Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration: test lease revoke routine with JWT token #9773

Merged
merged 1 commit into from
May 24, 2018

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented May 24, 2018

#9698 wasn't really testing
the panic code path when leases are expiry.

ref. #9695

@gyuho gyuho requested a review from joelegasse May 24, 2018 18:10
testV3AuthWithLeaseRevokeWithRoot(t, true)
}

func testV3AuthWithLeaseRevokeWithRoot(t *testing.T, jwt bool) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than adding a flag here, perhaps it would be better to just pass in the ClusterConfig that should be used to run the test? If we find more edge cases in the future, it would be easier to add new configurations for the scenario.

etcd-io#9698 wasn't really testing
the panic code path when leases are expiry.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
@gyuho gyuho merged commit f5e52c9 into etcd-io:master May 24, 2018
@gyuho gyuho deleted the auth-test branch May 24, 2018 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants